package interfaces;

import java.util.Map;

import basic.QuerySet;
import basic.ResultSet;
import entities.TCb;
import views.VCbCard;

public interface ICbService {

	public Boolean exist(String primaryKey) throws Exception;

	public Boolean contain(Map<String, Object> paramMap) throws Exception;

	public TCb fetch(String primaryKey) throws Exception;

	public TCb single(Map<String, Object> paramMap) throws Exception;

	public TCb persist(TCb entityBean) throws Exception;

	public Integer remove(String primaryKey) throws Exception;

	public Integer expunge(Map<String, Object> paramMap) throws Exception;

	public Double summary(QuerySet<Object> querySet) throws Exception;

	public Integer record(Map<String, Object> paramMap) throws Exception;

	public ResultSet<TCb> search(QuerySet<Object> querySet) throws Exception;
	
	
	public Boolean possess(Map<String,Object> paramMap) throws Exception;
	
	public VCbCard solely(Map<String, Object> paramMap) throws Exception;

	public Double collect(QuerySet<Object> querySet) throws Exception;

	public ResultSet<VCbCard> relate(QuerySet<Object> querySet) throws Exception;

}
